CREATE OR REPLACE FUNCTION LAST_ACTION_MODEL(a_s_count NUMBER, a_e_count NUMBER)
   RETURN NUMBER AUTHID CURRENT_USER
IS
-- Action after meta
-- Last error tag first_action_%meta_name%_1
   gc_note CONSTANT VARCHAR2(100) := 'LAST_ACTION_%META_NAME% v1';
   lc_int_name CONSTANT VARCHAR2(100) := '%META_NAME%';
   l_id NUMBER;
BEGIN
   RETURN 1;
EXCEPTION
   WHEN OTHERS
   THEN
      prc_msg(a_text => 'Error last_action_%meta_name%.',
              a_error_tag => 'last_action_%meta_name%_1', a_level => 32);
END;
